package com.zbec.mdrs.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zbec.mdrs.entity.RecordEntity;

import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by fxl on 2015/10/17.
 */
public class DiscountVo extends RecordEntityVo implements Serializable {
    private String zzjgdm;//组织机构代码
    private String sjsj;//数据年月
    private String jrjgbm;//金融机构编码
    private String jrjgwdmc;//金融机构网点名称
    private String wdssqu;//网点所属地区
    private String txsqrmc;//贴现申请人名称
    private String pjzl;//票据种类
    private String cdhmc;//承兑人/行名称
    private String bz;//币种
    private BigDecimal txje;//贴现金额
    private BigDecimal zsrmb;//折算成人民币的金额
    private BigDecimal zsmy;//折算成美元的金额
    private Date txrq;//贴现日
    private Date cdrq;//承兑到期日
    private BigDecimal txll;//贴现利率
    private BigDecimal pmje;//票面金额
    private String wjfl;//五级分类
    private String cdhdq;//承兑行（人）所在地区（字典:承兑行（人）所在地区）
    private String pjnbbh;//票据内部编号

    private String bzDesc;
    private String wjflDesc;
    private String pjzlDesc;
    private String cdhdqDesc;


    public DiscountVo(){

    }

    public DiscountVo(Long id,String zzjgdm, String sjsj, String jrjgbm, String jrjgwdmc, String wdssqu, String txsqrmc,
                      String pjzl, String cdhmc, String bz, BigDecimal txje, BigDecimal zsrmb, BigDecimal zsmy,
                      Date txrq, Date cdrq, BigDecimal txll, BigDecimal pmje, String wjfl, String cdhdq,String pjnbbh,
                      String source, String recordStatus, String reportStatus,
                      String existError, String errorDesc, String missedField,Long recordId) {
        this.id = id;
        this.zzjgdm = zzjgdm;
        this.sjsj = sjsj;
        this.jrjgbm = jrjgbm;
        this.jrjgwdmc = jrjgwdmc;
        this.wdssqu = wdssqu;
        this.txsqrmc = txsqrmc;
        this.pjzl = pjzl;
        this.cdhmc = cdhmc;
        this.bz = bz;
        this.txje = txje;
        this.zsrmb = zsrmb;
        this.zsmy = zsmy;
        this.txrq = txrq;
        this.cdrq = cdrq;
        this.txll = txll;
        this.pmje = pmje;
        this.wjfl = wjfl;
        this.cdhdq = cdhdq;
        this.pjnbbh=pjnbbh;
        this.source = source;
        this.recordStatus = recordStatus;
        this.reportStatus = reportStatus;
        this.existError = existError;
        this.errorDesc = errorDesc;
        this.missedField = missedField;
        this.recordId = recordId;
    }

    public String getZzjgdm() {
        return zzjgdm;
    }

    public void setZzjgdm(String zzjgdm) {
        this.zzjgdm = zzjgdm;
    }

    public String getSjsj() {
        return sjsj;
    }

    public void setSjsj(String sjsj) {
        this.sjsj = sjsj;
    }

    public String getJrjgbm() {
        return jrjgbm;
    }

    public void setJrjgbm(String jrjgbm) {
        this.jrjgbm = jrjgbm;
    }

    public String getJrjgwdmc() {
        return jrjgwdmc;
    }

    public void setJrjgwdmc(String jrjgwdmc) {
        this.jrjgwdmc = jrjgwdmc;
    }

    public String getWdssqu() {
        return wdssqu;
    }

    public void setWdssqu(String wdssqu) {
        this.wdssqu = wdssqu;
    }

    public String getTxsqrmc() {
        return txsqrmc;
    }

    public void setTxsqrmc(String txsqrmc) {
        this.txsqrmc = txsqrmc;
    }

    public String getPjzl() {
        return pjzl;
    }

    public void setPjzl(String pjzl) {
        this.pjzl = pjzl;
    }

    public String getCdhmc() {
        return cdhmc;
    }

    public void setCdhmc(String cdhmc) {
        this.cdhmc = cdhmc;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public BigDecimal getTxje() {
        return txje;
    }

    public void setTxje(BigDecimal txje) {
        this.txje = txje;
    }

    public BigDecimal getZsrmb() {
        return zsrmb;
    }

    public void setZsrmb(BigDecimal zsrmb) {
        this.zsrmb = zsrmb;
    }

    public BigDecimal getZsmy() {
        return zsmy;
    }

    public void setZsmy(BigDecimal zsmy) {
        this.zsmy = zsmy;
    }

    public Date getTxrq() {
        return txrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setTxrq(Date txrq) {
        this.txrq = txrq;
    }

    public Date getCdrq() {
        return cdrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setCdrq(Date cdrq) {
        this.cdrq = cdrq;
    }

    public BigDecimal getTxll() {
        return txll;
    }

    public void setTxll(BigDecimal txll) {
        this.txll = txll;
    }

    public BigDecimal getPmje() {
        return pmje;
    }

    public void setPmje(BigDecimal pmje) {
        this.pmje = pmje;
    }

    public String getWjfl() {
        return wjfl;
    }

    public void setWjfl(String wjfl) {
        this.wjfl = wjfl;
    }

    public String getCdhdq() {
        return cdhdq;
    }

    public void setCdhdq(String cdhdq) {
        this.cdhdq = cdhdq;
    }

    public String getBzDesc() {
        return bzDesc;
    }

    public void setBzDesc(String bzDesc) {
        this.bzDesc = bzDesc;
    }

    public String getWjflDesc() {
        return wjflDesc;
    }

    public void setWjflDesc(String wjflDesc) {
        this.wjflDesc = wjflDesc;
    }

    public String getPjzlDesc() {
        return pjzlDesc;
    }

    public void setPjzlDesc(String pjzlDesc) {
        this.pjzlDesc = pjzlDesc;
    }

    public String getCdhdqDesc() {
        return cdhdqDesc;
    }

    public void setCdhdqDesc(String cdhdqDesc) {
        this.cdhdqDesc = cdhdqDesc;
    }

    public String getPjnbbh() {
        return pjnbbh;
    }

    public void setPjnbbh(String pjnbbh) {
        this.pjnbbh = pjnbbh;
    }
}
